package com.njy.pojo;


import lombok.*;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Dept implements Serializable {
    private Long deptNo;
    private String deptName;
    private String dbSource;

    public String toString(){
        return "{\"dept\":{\"deptNo\":\""+deptNo+"\",\"deptName\":\""+deptName+"\",\"dbSource\":\""+dbSource+"\"}}";
    }
}
